package org.opsliframework.boot.oss.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "files.local") // 属性所在的层级，不包含具体属性字段
public  class LocalConfig  {
    /** 域名 */
    public String domain;

    /** 前缀 */
    public String pathPrefix;

    /** 本地存储路径 */
    public String uploadPath;

    /** 自定义路径 */
    public String customPath ="default";

}